<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{block name="title"}{/block}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="/static/assets/libs/layui268/css/layui.css" media="all"/>
<link rel="stylesheet" href="/static/assets/libs/layui-soul-table/soulTable.css" media="all"/>
<link rel="stylesheet" href="/static/assets/module/admin.css"/>
<style type="text/css">
	.red{
		color: red;
		padding-right: 2px;
	}
	.my-input-div{
		display:flex;
		border:none;
		border-bottom: 1px solid #888;
		background-color: #fff;
		height: 28px;
		line-height: 28px;
	}
	.my-input-div:hover,.my-input-div:active,.my-input-div:focus{
		border-bottom: 1px solid #009688;
	}
	.my-input-div:hover i,.my-input-div:active i,.my-input-div:focus i{
		cursor:pointer;
		visibility:visible;
	}	
	.mouse-hand{
		cursor:pointer;
		visibility: hidden;
	}
	.my-input-div .layui-input {
		border-style: none;
	}
	.width-2col{
		width: 564px!important;
	}
	.width-2col .layui-input{
		width: 484px!important;
	}	
</style>
<script type="text/javascript" src="/static/assets/libs/layui268/layui.js"></script> 
<script>
	var exportExcelUrl='';     //导出路径   
	var order_relation_type=1;//订单关系类型
	var worker_relation_type=201;//员工账号关系类型
	var customer_relation_type=202;//客户账号关系类型

	//*******************常用函数******************** */
	
	//数组拼接成URL变量
	function formatDate(_field){
		let a='';
		for(var key in _field){
			if(_field.hasOwnProperty(key)){
				a=a+key+"="+_field[key]+"&";
			}
		}
		a=a.substring(0,a.length-1);
		return a;
	}

	//******************************************************** */

	//****************layui 使用变量******************** */
	var $;
	var layer;
	var form;
	var table;
	var util;
	var admin;
	var laydate;
	var soulTable;
	var tableEdit;
	
	var myTable;
	var editTableCols;
	
	//操作焦点变量
	var focusArea="table";
	var curRowNo = 0;
	var nextRowNo = 1;
	var curColNo = 0;
	var nextColNo = 1;
	var editColNos = [];

	//数组拼接成URL变量
	function formatDate(_field){
		let a='';
		for(var key in _field){
			if(_field.hasOwnProperty(key)){
				a=a+key+"="+_field[key]+"&";
			}
		}
		a=a.substring(0,a.length-1);
		return a;
	}

	//数组拼接成ids
	function getDateIds(data){
		let a='';
		if(!Array.isArray(data)){
			return a;
		}
		for(let i=0;i<data.length;i++){
			if(data[i].hasOwnProperty('id')){
				a=a+data[i]['id']+','
			}
		}
		a=a.substring(0,a.length-1);
		return a;
	}
	
	//检测变量是否为对象
	function isObject(obj) {
		return Object.prototype.toString.call(obj) === '[object Object]';
	}	
	
    //Layui主配置
    layui.config({
        base: '/static/assets/module/',   // 模块目录
        version: 'v1.6.4'
    }).extend({                         // 模块别名
        tableEdit:'tableEdit',
		soulTable: 'soulTable',
        tableChild: 'tableChild',
		admin:'admin'
    });
</script>
</head>
<body>
<!-- 正文开始 -->
{block name="body"}{/block}

<!-- js部分 -->
{block name="script"}{/block}
</body>
</html>
